package com.gadgets.busi.bm03.common;

public class Bm03Constant {

    public static final String EXCEL_IMPORT_PROCESS_KEY_PARAM = "KeyParam";

    /**
     * Excel任务处理器任务类型枚举
     */
    public static class EXCEL_PROCESS_TASK_TYPE{
        /**
         * SQL生成
         */
        public static final String SQL_GENERATOR = "sqlGen";
    }

    /**
     * SQL自动生成关键数据Key
     */
    public static class SQL_GEN_TASK_PARAM_KEY {
        /**
         * 表名
         */
        public static final String TABLE_NAME = "tm";
        /**
         * 列信息
         */
        public static final String COLUMN = "column";
        /**
         * 索引信息
         */
        public static final String INDEX = "index";
        /**
         * 表注释名
         */
        public static final String TABLE_COMMENT = "tm_c";
        /**
         * 类名
         */
        public static final String CLASS_NAME = "cn";
    }

    public static class SQL_GEN_INDEX_TYPE {
        /**
         * 主键
         */
        public static final String INDEX_PK = "PRIMARY KEY";
        /**
         * 主键自增
         */
        public static final String INDEX_PK_AUTO = "PRIMARY KEY AUTO_INCREMENT";
        /**
         * 索引
         */
        public static final String INDEX_IDX = "INDEX";
        /**
         * 唯一键
         */
        public static final String INDEX_UNIQ = "UNIQUE";
        /**
         * 唯一健索引
         */
        public static final String INDEX_UNIQ_IDX = "UNIQUE INDEX";
        /**
         * 非空
         */
        public static final String INDEX_NOT_NULL = "NOT NULL";
    }

    /**
     * Bm03保留字
     */
    public static final class REVERSE_CODE {
        /**
         * Excel中不用生成Java属性的属性名：XN
         */
        public static final String NO_GENERATOR_PARAM_NAME = "XN";
    }

}
